﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MethodWorx.CMS.Administration;

namespace MethodWorx.CMS.UI.Controllers
{
    public class HomeController : Controller
    {
        private ApplicationTypeService service;
        //
        // GET: /Home/
        public HomeController(ApplicationTypeService service)
        {
            this.service = service;
        }
        public ActionResult Index()
        {
            //return RedirectToAction("Index", "Login");
            this.ViewData["baseUrl"] = this.service.GetBaseUrl();
            return View();
        }

    }
}
